<?php
// +----------------------------------------------------------------------
// | Author: 发仔 <i@fazi.me> 
// +----------------------------------------------------------------------

return [

    'web_url'        =>'http://new.jjcxfw.com',
    'night_time'     =>'23,5',//夜间行驶时间
    'low_speed'      =>12,//低速行驶
    'remote_km'      =>10,//远途距离
    'gps_save_dir'   =>'/work/gps/',//GPS轨迹存储路径
    'bd_save_dir'    =>'/work/ucar/beidou/',// 北斗存储路径
    'cancel_time'    =>3,//分钟
    'pre_cancel_time'=>30,
	'img_dir' => '/upload/',
	
	'static_dir' => '',
	'mapkey' => 'd4875652ff989f36d120ae462518cbde',

    //Company 运营模式
    'company_modes' => [
       1 => '单位',
       2 => '服务公司',
    ],

	'car_types' => [
        2 => "优选型",
		3 => "舒适型",
		4 => "豪华型",
		9 => "商务型",
		5 => "大巴",
		6 => "小巴",
		7 => "中巴",
		8 => "执法车",
	],
	
	'types' => [
		2 => "公务车",
		3 => "公包车",
		4 => "约租车",
		5 => "私包车"
	],
	//用车类型
	'use_types' => [
		1 => "行政执法",
		'特殊公务',
		'重要会议',
		'机要通讯',
		'视察调研',
		'公务接待',
        '应急公务',
        '紧急就医',
	],
	//订车类型
	'booking_types' => [
		1 => "订车",
		'包车',
		'分时租赁',
	],
	//订车类型
	'order_states' => [
		1 => "待审批",
			"已批准",#2.待审批后直达
			"已拒绝",#3.
			"待用车",#4.
			"已派车",
			"接驾中",
			"已到达出发地",
			"已到达目的地",
			"待支付",
			"待评价",#10
			"已完成",
			"已取消",
			"已终止",
			"无效",
        21=>'待报价',
        22=>'部分报价',
        23=>'已报价'
	],
	//订车类型
	'order_types' => [
		1 => "公务订单",
			"企业订单",
			"个人订单"
	],

    'pay_types' => [
        1 => '个人',
        2 => '单位',
        3 => '公务',
    ],
	
	'used_types' => [
		1 => "乘客来源"
	],
	'work_states' => [
		1 => "执行任务中",
		"有预约订单",
		"听单中",
		"下班",
	],
	'rent_types' => [
		1=>"司机来源","车辆来源"
	],
	'sources' => [
		1 => '单位直属公务车','管理公司直属公务车','单位自有车辆'
	],
	'structures' => [
		1 => '两厢车','三厢车','SUV'
	],
	'gearbox_types' => [
		1 => '手动','自动','手自一体'
	],
	
	'energy_types' => [
		1 => "电动",
		2 => "汽油",
		3 => "柴油",
	],
	
	'labels' => [
		#89 => "#89",
		92 => "#92",
		95 => "#95",
		98 => "#98",
	],
	
	'languages' => [
		1 => "普通话",
		2 => "闽南话",
		3 => "广东话",
		4 => "英语",
		5 => "日语",
		6 => "韩语"
	],
	//单位性质
	'use_prop' => [
		['id' => 1,'name'=> '一级政府机关单位','pId' => 0],
		['id' => 2,'name'=> '一级事业单位','pId' => 0],
		['id' => 3,'name'=> '一级国营单位','pId' => 0],
		['id' => 4,'name'=> '一级民营单位','pId' => 0],
		['id' => 5,'name'=> '一级公检法','pId' => 0],
		['id' => 11,'name'=> '二级市直','pId' => 1],
		['id' => 12,'name'=> '二级乡镇','pId' => 1],
		['id' => 13,'name'=> '二级四办','pId' => 1],
	],
	
	'car_prop' => [
		['id' => 1,'name'=> '一级普通公务','pId' => 0],
		['id' => 2,'name'=> '二级一般','pId' => 1],
		['id' => 3,'name'=> '二级行政执法','pId' => 1],
		['id' => 4,'name'=> '二级四办','pId' => 1],
	],
	
	'law_prop' => 3,#行政执法性质
	
	//公务角色
	'official_role' => [22,23,24],
	//check_state
	'check_state' => [
		1 => '待审核',
		2 => '待处理',
		3 => '待确认',
		4 => '已确认',
	],


    //服务商类型
    'service_mode' => [
        1 => '年检站',
        '加油站',
        '保险公司',
        '维修厂',
    ],

    //维保状态
    'maintance_state' => [
        1 => '未审批',
        2 => '已审批',
    ],
    //保险类型
    'policy_type' => [
        1 => '强制险',
        2 => '商业险',
    ],
    //编制类型
    'strength_type' => [
        1 => '执法执勤用车',
        2 => '特种专业技术用车',
        3 => '机要通信用车',
        4 => '应急保障用车',
    ],
    //编制状态
    'strength_state' => [
        1 => '审核中',
        2 => '通过',
        3 => '拒绝',
        11 => '资产审核中',
        12 => '资产同意更新',
        13 => '资产拒绝更新',
        21 => '行政审核中',
        22 => '行政同意更新',
        23 => '行政拒绝更新',
        99 => '已绑定车辆',
    ],
    //角色限制
    'role_limit' => [
        1 => '无受限',
        2 => '限本单位',
        3 => '限本人',
    ],

    'WXKEY' => 'wx53f7d66939e576d6pccxpaydidigo8',

];

